@charset "UTF-8";
/*
  p-tab---public tab
  p-tab-h----public tab header
  p-tab-c----public tab cont
  p-tab-item---public tab item


###example###
        <div class="p-tab player">
            <div class="p-tab-h flex-h-mid">
                <h2 class="flex-h arrow-11">
                    <span class="p-text">一周表现</span>
                </h2>

                <ul class="flex-h" id="playerTab">
                    <li class=""><span class="best">最佳表现选手</span></li>
                    <li class="cur"><span class="worst ">最差表现选手</span> </li>
                </ul>

            </div>
            <div class="p-tab-c">
                <div class="p-tab-item">1</div>
                <div class="p-tab-item p-hide">2</div>
            </div>
        </div>

*/


//默认效果
.p-tab-h {
  position: relative;
  border-bottom: 1px solid #f2d5ad;
}



.p-tab-h ul{
  width: 100%;
}
.p-tab-h  li {
  font-size: 20px;
  font-weight: bold;
  color: #a44637;
  min-height: 42px;
  line-height: 42px;
  cursor: pointer;
  background-color:#272727;
}


.p-tab-h  li span{
  text-align: center;
  display: block;
  padding: 0 10px;
}
.p-tab-h  li.cur{
  background-color: #f2d5ad;
  color: #000;
}



//h2标签，为可选项
.p-tab-h h2{
  font-size: 24px;
  color:#f2d5ad;
  font-weight: normal;
  line-height: 28px;
}
.p-tab-h h2:before {
  display: inline-block;
  min-height: 30px;
  min-width: 30px;
  content: '';
  background-image: sprite-url($icons);
}



//带边框的 标签卡
.p-tab-border .p-tab-h{
  border-bottom: none;
}
.p-tab-border .p-tab-h ul:after{
  display: inline-block;
  content: '';
  height: 42px;
  border-bottom: 1px solid #f2d5ad;
  -webkit-box-flex: 2.5;
  -webkit-flex: 2.5;
  -moz-box-flex: 2.5;
  -moz-flex: 2.5;
  -ms-flex: 2.5;
  flex: 2.5;
}
.p-tab-border .p-tab-h li{
  border-bottom: 1px solid #f2d5ad;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
  color: #f2d5ad;
  background-color: transparent;
}
.p-tab-border .p-tab-h li span{
  border: 1px solid transparent;
  border-bottom: none;
}
.p-tab-border .p-tab-h  li.cur{
  border-bottom: 1px solid transparent;
  background-color: transparent;
  color: #f2d5ad;
}
.p-tab-border .p-tab-h  li.cur span{
  border: 1px solid#f2d5ad;
  border-bottom: none;
}



//自动平分
.p-tab-auto  .p-tab-h li{
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
}



/*en css*/
.en .p-tab-h{
  font-family: open_sanslight;
}